﻿using System;
using System.ComponentModel;
using System.Runtime.InteropServices;

namespace Teigha.Core
{
	public class OdGsContainerNode : OdGsNode
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdGsContainerNode(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGsContainerNode_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdGsContainerNode obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdGsContainerNode()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							GlobalsPINVOKE.delete_OdGsContainerNode(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public void setEntityListValid(bool entityListValid)
		{
			GlobalsPINVOKE.OdGsContainerNode_setEntityListValid(this.swigCPtr, entityListValid);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool childrenUpToDate(uint nVpID)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_childrenUpToDate(this.swigCPtr, nVpID);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public bool needRegen(uint viewportId)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_needRegen(this.swigCPtr, viewportId);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void addChildNode(OdGsEntityNode pEnt)
		{
			GlobalsPINVOKE.OdGsContainerNode_addChildNode(this.swigCPtr, OdGsEntityNode.getCPtr(pEnt));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void turnOnLights(OdGsBaseVectorizer view)
		{
			GlobalsPINVOKE.OdGsContainerNode_turnOnLights(this.swigCPtr, OdGsBaseVectorizer.getCPtr(view));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual ENodeType nodeType()
		{
			ENodeType result = (ENodeType)GlobalsPINVOKE.OdGsContainerNode_nodeType(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGsEntityNode firstEntityNode()
		{
			OdGsEntityNode result = (OdGsEntityNode)Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_firstEntityNode__SWIG_0(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGsEntityNode lastEntityNode()
		{
			OdGsEntityNode result = (OdGsEntityNode)Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_lastEntityNode__SWIG_0(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGsLightNodePtrList lightNodesList()
		{
			OdGsLightNodePtrList result = new OdGsLightNodePtrList(GlobalsPINVOKE.OdGsContainerNode_lightNodesList__SWIG_0(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public uint awareFlags(uint viewportId)
		{
			uint result = GlobalsPINVOKE.OdGsContainerNode_awareFlags(this.swigCPtr, viewportId);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setAwareFlags(uint viewportId, uint flags)
		{
			GlobalsPINVOKE.OdGsContainerNode_setAwareFlags(this.swigCPtr, viewportId, flags);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new static OdGsContainerNode cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = GlobalsPINVOKE.OdGsContainerNode_cast(OdRxObject.getCPtr(pObj));
			OdGsContainerNode result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_desc(), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_isA(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdGsContainerNode createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = GlobalsPINVOKE.OdGsContainerNode_createObject();
			OdGsContainerNode result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdGsContainerNode)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGsContainerNode(OdGsBaseModel pModel, OdGiDrawable pUnderlyingDrawable, bool bSetGsNode) : this(GlobalsPINVOKE.new_OdGsContainerNode__SWIG_0(OdGsBaseModel.getCPtr(pModel), OdGiDrawable.getCPtr(pUnderlyingDrawable), bSetGsNode), true)
		{
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdGsContainerNode(OdGsBaseModel pModel, OdGiDrawable pUnderlyingDrawable) : this(GlobalsPINVOKE.new_OdGsContainerNode__SWIG_1(OdGsBaseModel.getCPtr(pModel), OdGiDrawable.getCPtr(pUnderlyingDrawable)), true)
		{
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool entityListValid()
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_entityListValid(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setChildrenUpToDate(bool childrenUpToDate, uint nVpID)
		{
			GlobalsPINVOKE.OdGsContainerNode_setChildrenUpToDate__SWIG_0(this.swigCPtr, childrenUpToDate, nVpID);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void setChildrenUpToDate(bool childrenUpToDate)
		{
			GlobalsPINVOKE.OdGsContainerNode_setChildrenUpToDate__SWIG_1(this.swigCPtr, childrenUpToDate);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool childrenRegenDraw(uint nVpID)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_childrenRegenDraw(this.swigCPtr, nVpID);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setChildrenRegenDraw(bool bVal, uint nVpID)
		{
			GlobalsPINVOKE.OdGsContainerNode_setChildrenRegenDraw(this.swigCPtr, bVal, nVpID);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void addChild(OdGiDrawable pDrawable, bool unerased)
		{
			GlobalsPINVOKE.OdGsContainerNode_addChild__SWIG_0(this.swigCPtr, OdGiDrawable.getCPtr(pDrawable), unerased);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void addChild(OdGiDrawable pDrawable)
		{
			GlobalsPINVOKE.OdGsContainerNode_addChild__SWIG_1(this.swigCPtr, OdGiDrawable.getCPtr(pDrawable));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void addLight(OdGiDrawable pDrawable, OdGeMatrix3d model2World)
		{
			GlobalsPINVOKE.OdGsContainerNode_addLight(this.swigCPtr, OdGiDrawable.getCPtr(pDrawable), OdGeMatrix3d.getCPtr(model2World));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public virtual void removeChild(OdGsNode pNode)
		{
			GlobalsPINVOKE.OdGsContainerNode_removeChild(this.swigCPtr, OdGsNode.getCPtr(pNode));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public OdSiSpatialIndex spatialIndex()
		{
			OdSiSpatialIndex result = (OdSiSpatialIndex)Teigha.Core.Helpers.odrxCreateObjectInternal(GlobalsPINVOKE.OdGsContainerNode_spatialIndex__SWIG_0(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void invalidate(OdGsContainerNode pParent, OdGsViewImpl pView, uint mask)
		{
			GlobalsPINVOKE.OdGsContainerNode_invalidate(this.swigCPtr, OdGsContainerNode.getCPtr(pParent), OdGsViewImpl.getCPtr(pView), mask);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public uint currViewChanges()
		{
			uint result = GlobalsPINVOKE.OdGsContainerNode_currViewChanges(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool extents(OdGeExtents3d extents)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_extents__SWIG_0(this.swigCPtr, OdGeExtents3d.getCPtr(extents));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool extents(OdGsView pView, OdGeExtents3d ext)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_extents__SWIG_1(this.swigCPtr, OdGsView.getCPtr(pView), OdGeExtents3d.getCPtr(ext));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void propagateInvalidVpFlag()
		{
			GlobalsPINVOKE.OdGsContainerNode_propagateInvalidVpFlag(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool checkWorkset()
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_checkWorkset(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setCheckWorkset(bool bVal)
		{
			GlobalsPINVOKE.OdGsContainerNode_setCheckWorkset(this.swigCPtr, bVal);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public bool findCompatibleCache(OdGsViewImpl view)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_findCompatibleCache(this.swigCPtr, OdGsViewImpl.getCPtr(view));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public bool highlightSubnodes(uint nSubnodes, bool bHighlight, bool bAll)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_highlightSubnodes(this.swigCPtr, nSubnodes, bHighlight, bAll);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual void destroy()
		{
			GlobalsPINVOKE.OdGsContainerNode_destroy(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void destroySubitems()
		{
			GlobalsPINVOKE.OdGsContainerNode_destroySubitems(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public uint maxLineWeightIndexUsed()
		{
			uint result = GlobalsPINVOKE.OdGsContainerNode_maxLineWeightIndexUsed(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public OdGeExtents3d realExtents()
		{
			OdGeExtents3d result = new OdGeExtents3d(GlobalsPINVOKE.OdGsContainerNode_realExtents(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void setRealExtents(OdGeExtents3d ext, uint nMaxLw)
		{
			GlobalsPINVOKE.OdGsContainerNode_setRealExtents(this.swigCPtr, OdGeExtents3d.getCPtr(ext), nMaxLw);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void addViewRef(uint viewportId)
		{
			GlobalsPINVOKE.OdGsContainerNode_addViewRef(this.swigCPtr, viewportId);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void removeViewRef(uint viewportId)
		{
			GlobalsPINVOKE.OdGsContainerNode_removeViewRef(this.swigCPtr, viewportId);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public ViewRefs viewRefs()
		{
			ViewRefs result = new ViewRefs(GlobalsPINVOKE.OdGsContainerNode_viewRefs(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public StockProps stock()
		{
			StockProps result = new StockProps(GlobalsPINVOKE.OdGsContainerNode_stock(this.swigCPtr), false);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void makeStock()
		{
			GlobalsPINVOKE.OdGsContainerNode_makeStock(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void releaseStock()
		{
			GlobalsPINVOKE.OdGsContainerNode_releaseStock(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public void propagateLayerChangesStock()
		{
			GlobalsPINVOKE.OdGsContainerNode_propagateLayerChangesStock(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public new virtual bool saveNodeState(SWIGTYPE_p_OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_saveNodeState__SWIG_0(this.swigCPtr, SWIGTYPE_p_OdGsFiler.getCPtr(pFiler), OdGsBaseVectorizer.getCPtr(pVectorizer));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool saveNodeState(SWIGTYPE_p_OdGsFiler pFiler)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_saveNodeState__SWIG_1(this.swigCPtr, SWIGTYPE_p_OdGsFiler.getCPtr(pFiler));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool loadNodeState(SWIGTYPE_p_OdGsFiler pFiler, OdGsBaseVectorizer pVectorizer)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_loadNodeState__SWIG_0(this.swigCPtr, SWIGTYPE_p_OdGsFiler.getCPtr(pFiler), OdGsBaseVectorizer.getCPtr(pVectorizer));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool loadNodeState(SWIGTYPE_p_OdGsFiler pFiler)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_loadNodeState__SWIG_1(this.swigCPtr, SWIGTYPE_p_OdGsFiler.getCPtr(pFiler));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual bool postprocessNodeLoading(SWIGTYPE_p_OdGsFiler pFiler)
		{
			bool result = GlobalsPINVOKE.OdGsContainerNode_postprocessNodeLoading(this.swigCPtr, SWIGTYPE_p_OdGsFiler.getCPtr(pFiler));
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public void removeErased()
		{
			GlobalsPINVOKE.OdGsContainerNode_removeErased(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
		}

		public int numberOfChildren()
		{
			int result = GlobalsPINVOKE.OdGsContainerNode_numberOfChildren(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public uint numberOfChildrenST()
		{
			uint result = GlobalsPINVOKE.OdGsContainerNode_numberOfChildrenST(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public uint numberOfChildrenErased()
		{
			uint result = GlobalsPINVOKE.OdGsContainerNode_numberOfChildrenErased(this.swigCPtr);
			if (GlobalsPINVOKE.SWIGPendingException.Pending)
			{
				throw GlobalsPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		private object locker = new object();

		private HandleRef swigCPtr;
	}
}
